home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / RTGMaster / includes / e / rtgmaster / rtgc2p.e < prev    next >
Encoding:
Text File  |  1998-06-24  |  2.4 KB  |  98 lines

  1.  
  2. OPT MODULE
  3. OPT EXPORT
  4.  
  5. MODULE 'exec/types'
  6.  
  7. OBJECT c2p_info
  8.     ci_colordepth:INT            ->CI_256, CI_128, CI_64, CI_EHB, CI_32..
  9.     ci_cpu:INT                   ->CI_68060, CI_68040, CI_68030....
  10.     ci_needs:INT                 ->CI_Aikiko, CI_MMU, CI_FPU...
  11.     ci_dirty:CHAR                ->TRUE/FALSE
  12.     ci_hack:CHAR                 ->TRUE/FALSE
  13.     ci_pixelsize:LONG            ->c2p_1x1...
  14.     ci_widthalign:INT            ->Width has to be divisible by <number>
  15.     ci_heightalign:INT           ->Height has to be divisible by <number>
  16.     ci_misc:INT                  ->Different stuff...
  17.     ci_amicompatible:LONG        ->Is this compatible to RtgScreenAMI ?
  18.     ci_description:LONG          ->Pointer to a string
  19.     ci_initialization:LONG       ->Pointer to Initialization code
  20.     ci_expunge:LONG              ->Pointer to Expunge code
  21.     ci_normal_c2p:LONG           ->Pointer to c2p code
  22.     ci_normal_c2p_interl:LONG    ->Pointer to Interleaved c2p
  23.     ci_scrambled_c2p:LONG        ->Pointer to Scrambled c2p
  24.     ci_scrambled_c2p_interl:LONG ->Pointer to Scrambled Interleaved c2p
  25.     ci_asynchrone:CHAR           ->TRUE/FALSE
  26. ENDOBJECT
  27.  
  28. -> CI_Colordepth
  29.  
  30. CONST CI_256=256,
  31.       CI_128=128,
  32.       CI_64 =64,
  33.       CI_EHB=32,
  34.       CI_32 =16,
  35.       CI_16 =8,
  36.       CI_8  =4,
  37.       CI_4  =2,
  38.       CI_2  =1
  39.  
  40. -> CI_CPU
  41.  
  42. CONST CI_68060=1,
  43.       CI_68040=2,
  44.       CI_68030=4,
  45.       CI_68020=8,
  46.       CI_68060D=16,
  47.       CI_68040D=32,
  48.       CI_68030D=64,
  49.       CI_68020D=128
  50.  
  51. -> CI_Needs
  52.  
  53. CONST CI_68060N=1,
  54.       CI_68040N=2,
  55.       CI_68030N=4,
  56.       CI_AIKIKO=8,
  57.       CI_MMU   =16,
  58.       CI_FPU   =32,
  59.       CI_FAST  =64,
  60.       CI_2MB   =128
  61.  
  62. -> CI_MISC
  63.  
  64. CONST CI_SMALLER =1,
  65.       CI_FIXED   =2,
  66.       CI_DESTRUCT=4
  67.  
  68. CONST C2P_1X1=1,
  69.       C2P_1X2=2,
  70.       C2P_2X1=4,
  71.       C2P_2X2=8,
  72.       C2P_4X2=16,
  73.       C2P_2X4=32,
  74.       C2P_4X4=64,
  75.       C2P_BEST=128,
  76.       C2P_FASTEST=256,
  77.       C2P_SELECTED=512,
  78.       C2P_1X1D=1024,
  79.       C2P_1X2D=2048,
  80.       C2P_2X1D=4096,
  81.       C2P_2X2D=8192,
  82.       C2P_4X2D=16384,
  83.       C2P_2X4D=32768,
  84.       C2P_4X4D=65536,
  85.       C2P_BESTD=131072,
  86.       C2P_FASTESTD=262144,
  87.       C2P_SELECTEDD=524288
  88.  
  89. CONST C2P_ERR_WRONG_C2P=1,
  90.       C2P_ERR_WRONG_DEPTH=2,
  91.       C2P_WARN_WRONG_PIXELMODE=3,
  92.       C2P_ERR_WRONG_WINDOWSIZE=4,
  93.       C2P_WARN_DIVISIBLE=5,
  94.       C2P_ERR_HARDWARE=6,
  95.       C2P_ERR_MEMORY=7,
  96.       C2P_ERR_INTERNAL=8,
  97.       C2P_WARN_INTERNAL=9
  98.